// 用户信息接口
export interface UserInfo {
  userId: string
  username: string
  loginName: string
  nickName: string
  userEmail: string
  phoneNumber: string
  userSex: string
  userImg: string | null
  userAddr: string
  loginIp: string
  loginDate: string
  userStatus: string
  registeredTime: string
  token: string
  orgId: string
  orgName: string
  positionId: string
  positionName: string
}

// 菜单资源接口
export interface MenuItem {
  resCode: string
  resName: string
  resUrl: string
  resType: string
  resPermissions: string
  resComponent: string
  orderNo: string | null
  resStatus: string | null
  parentId: string
  isShow: string
  resLevel: number
  resIcon: string
  id: string
  children?: MenuItem[]
}

// 初始化响应接口
export interface InitResult {
  code: number
  msg: string | null
  data: {
    userId: string
    username: string
    loginName: string
    nickName: string
    userEmail: string
    phoneNumber: string
    userSex: string
    userImg: string | null
    userAddr: string
    loginIp: string
    loginDate: string
    userStatus: string
    registeredTime: string
    token: string
    orgId: string
    orgName: string
    positionId: string
    positionName: string
    resList: MenuItem[]
  }
} 